home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1998 June / Macworld (1998-06).dmg / Shareware World / Utilities / Video / MVEMVC / MyVidEditor 2.1 / Scripts Folder / Process all Projects Script < prev    next >
Text File  |  1998-02-12  |  635b  |  22 lines

  1. on open (theItems)
  2.     tell application "MyVidEditor©"
  3.         activate
  4.     end tell
  5.     set isokay to true
  6.     if isokay then
  7.         script processProjectinfolder
  8.             on open (theFile)
  9.                 set SourceName to theFile as string
  10.                 copy (SourceName & ".cin") to OutName
  11.                 with timeout of 100000 seconds
  12.                     -- this "timeout of 100000" prevents a timeout error being generated
  13.                     tell application "MyVidEditor©"
  14.                         set isokay to Compress project file SourceName to movie file OutName as self contained yes
  15.                     end tell
  16.                 end timeout
  17.             end open
  18.         end script
  19.         walk folders theItems with script processProjectinfolder with using files
  20.     end if
  21. end open
  22.